package com.own.business.system.user.phone.business.method;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;

/**
 * SystemUserPhoneRegisterMethodHookAutoConfig
 *
 * @author chenxueli
 * @date 2023-08-30 11:07:00
 */
@Slf4j
@SpringBootConfiguration
public class SystemUserPhoneRegisterMethodHookAutoConfig {

    @Bean
    @ConditionalOnMissingBean(SystemUserPhoneRegisterMethodHook.class)
    public SystemUserPhoneRegisterMethodHook systemUserPhoneRegisterMethodHook() {
        return phone -> null;
    }

}
